home *** CD-ROM | disk | FTP | other *** search
- Path: marge.cs.mcgill.ca!hus
- From: hus@marge.cs.mcgill.ca (Song HU)
- Newsgroups: comp.lang.c
- Subject: need help on direct keyboard input
- Date: 29 Jan 1996 22:51:22 GMT
- Organization: School of Computer Science, McGill U, Montreal
- Message-ID: <4ejj1a$bi1@lisa.cs.mcgill.ca>
- NNTP-Posting-Host: marge.cs.mcgill.ca
- X-Newsreader: TIN [version 1.2 PL2]
-
- Hi,expert:
- I used programing in Basic language, there is a function name "
- inkey$", it will get one character from keyboard and do something.
- now, I would like to make a similar function in C, I try getchar()
- read() and other input function. they won't process the input unless
- you press Enter on you keyboard, is there somebody know how can
- program it in C?
-
- Thank you for any suggestion
-
- song
-
- --
- -------------------------------- ,-. __ .-, -------------------
- Song HU --;`. ' `.' Hus@cs.mcgill.ca
- McGill University / ( ^__^ ) Tel: (514) 496-8010(o)
- Montreal, Quebec H3Z 2P8 ~`-..._)))(((.'
- -------------------------------- -------------------
-